package com.ruoyi.contest.domain;

import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import lombok.EqualsAndHashCode;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 竞赛分值对象 t_contest_score
 *
 * @author ruoyi
 * @date 2023-02-23
 */
@Data
@EqualsAndHashCode(callSuper = false)
@TableName("t_contest_score")
public class ContestScore extends BaseEntity
{
    /** 竞赛分值表ID */
    private Long contestScoreId;

    /** 年度 */
    @Excel(name = "年度")
    private Long year;

    /** 竞赛等次：A~E */
    @Excel(name = "竞赛等次：A~E")
    private String contestGrade;

    /** 竞赛级别：0校赛、1省赛/区域赛、2国赛/国际赛 */
    @Excel(name = "竞赛级别：0校赛、1省赛/区域赛、2国赛/国际赛")
   private String level;

    /** 获奖等级：0特等奖、1一等奖、2二等奖、3三等奖、4优秀奖 */
    @Excel(name = "获奖等级：0特等奖、1一等奖、2二等奖、3三等奖、4优秀奖")
    private String awardGrade;

    /** 得分 */
    @Excel(name = "指导老师-总分值")
    private Integer student_score;

    @Excel(name = "参赛学生-总分值")
    private Integer teacher_score;

    /** 删除标志（0代表正常 1代表停用） */
    private String delFlag;



    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("contestScoreId", getContestScoreId())
            .append("year", getYear())
            .append("contestGrade", getContestGrade())
            .append("level", getLevel())
            .append("awardGrade", getAwardGrade())
            .append("remark", getRemark())
            .append("teacher_score",getTeacher_score())
            .append("student_score",getStudent_score())
            .append("delFlag", getDelFlag())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .toString();
    }
}
